package org.duiduo.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.duiduo.pojo.Address;
import org.springframework.stereotype.Repository;

/**
 * 地址Mapper
 *
 * @author liangze
 * @date 2024/3/6 11:36
 */
@Repository
@Mapper
public interface AddressMapper {

    /**
     * 保存
     */
    void save(Address address);

    /**
     * 查询
     *
     * @param id
     * @return
     */
    Address get(Long id);

}
